(C) 1996 AROS - The Amiga Replacement OS


NAME
#include <proto/dos.h>
BOOL AssignLock()
SYNOPSIS
STRPTR name
BPTR lock

LOCATION
In DOSBase at offset 102
FUNCTION
Create an assign from a given name to a lock. Replaces any older assignments from that name, 0 cancels the assign completely. Do not use or free the lock after calling this function - it becomes the assign and will be freed by the system if the assign is removed.

INPUTS
name
NUL terminated name of the assign.
lock
Lock to assigned directory.
RESULT
!=0 success, 0 on failure. IoErr() gives additional information in that case. The lock is freed on failure and must not be used in that case too.

NOTES
EXAMPLE
BUGS
SEE ALSO
INTERNALS
HISTORY
04.07.1997 srittau
Small adjustments.
27.01.1997 ldp
Polish
09.12.1996 aros
Added empty templates for all missing functions

Moved #include's into first column

24.10.1996 aros
Use the official AROS macros over the __AROS versions.
13.08.1996 digulla
Replaced <dos/dosextens.h> by "dos_intern.h" or added "dos_intern.h" Replaced __AROS_LA by __AROS_LHA
01.08.1996 digulla
Added standard header for all files
28.07.1996 digulla
Initial revision
28.07.1996 digulla
First CVS version of AROS